package com.cnoc.base.config.dao.impl.mysql;

import java.util.List;

import org.apache.log4j.Logger;
import org.springframework.stereotype.Repository;

import com.cnoc.base.config.dao.QueryForUrlWBeanDao;
import com.cnoc.base.config.dto.CnocOsJobBeanConfigDto;
import com.cnoc.base.spring.base.BaseRepository;

@Repository("QueryForUrlWBeanDaoImp")
public class QueryForUrlWBeanDaoImp  extends BaseRepository<CnocOsJobBeanConfigDto> implements QueryForUrlWBeanDao{
	private static final Logger logger = Logger.getLogger(QueryForUrlWBeanDaoImp.class);
	
	
	@Override
	public List<CnocOsJobBeanConfigDto> queryForUrlWBean() throws Exception{
		
		String sql =" SELECT ID,URL_PATH,BEAN_CLASS,BEAN_CLASS_PATH FROM CNOC_OS_URLWBEAN_CONFIG WHERE STATE='10A' ";
		List<CnocOsJobBeanConfigDto> list = jdbcTemplate.query(sql, beanRowMap);
		return list;
	}


	

}
